package com.beamfield.dao.lab;

import com.beamfield.model.LabRectific;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface LabRectificMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LabRectific record);

    int insertSelective(LabRectific record);

    LabRectific selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LabRectific record);

    int updateByPrimaryKey(LabRectific record);

    List<LabRectific> getRectificList(@Param("beam_id") Long beamId, @Param("offset") Long offset, @Param("limit") Integer limit);

    int countRectificList(@Param("beam_id") Long beamId);
}